<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./js/vue.js"></script>
</head>
<body>
    <div id="root">
        <div v-bind:style="{color: activeColor, fontSize: fontSize + 'px'}">菜鸟教程</div>
    </div>
</body>
<script>
    Vue.config.productionTip = false

    const v = new Vue({
        data() {
            return {
                activeColor: "blue",
                fontSize: 30
            }
        }
    }).$mount("#root")
</script>
</html>